package com.xyht.sca_s.student_manage_system.modules.assetFixedInventory.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.assetFixedSelfInspection.entity.resp.SmsAssetSelfInspectionOrgResp;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 资产自查计划表
 * </p>
 *
 * @author XYHT
 * @since 2024-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_inventory_plan")
@ApiModel(value="SmsAssetInventoryPlan对象", description="资产自查计划表")
public class SmsAssetInventoryPlanResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资产自查计划表id")
    private String planId;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "计划范围类型 0:部门 1:个人")
    private Integer planRangeType;

    @ApiModelProperty(value = "范围id集合")
    private String rangeIdList;

    @ApiModelProperty(value = "部门时范围id集合")
    private List<SmsAssetInventoryOrgResp> deparmentList;

    @ApiModelProperty(value = "个人时范围id集合")
    private List<SmsSearchUserResp> userList;

    @ApiModelProperty(value = "开始时间")
    private Date bgTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "创建用户id")
    private String createUserId;

    @ApiModelProperty(value = "是否开启扫描 默认1:开启 0:未开启")
    private Integer isOpenScan;

    @ApiModelProperty(value = "盘点位置")
    private String inventoryPlace;

    @ApiModelProperty(value = "是否启用 默认 0:未启用 1:启用")
    private Integer isUse;

    @ApiModelProperty(value = "创建人信息")
    private SmsSearchUserResp createUserInfo;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "是否完成 0:未完成 1:完成")
    private Integer isComplete;

    @ApiModelProperty(value = "完成时间")
    private Date completeTime;

    @ApiModelProperty(value = "完成盘点数量")
    private Integer completeCount;

    @ApiModelProperty(value = "未完成盘点数量")
    private Integer notCompleteCount;

}
